package com.example.base.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.base.domain.Account;
import com.example.base.domain.studentPack.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface StudentMapper extends BaseMapper<Student> {
    Student queryStudentByStuNum(@Param("stuNum") Integer stuNum);

    List<Student> queryAllStudent();

    List<Student>queryStudentsByCourseId(long courseId);

    List<Student>queryStudentsByGradeId(long gradeId);
}
